package com.ruoyi.yljf.domain.vo;

import com.ruoyi.common.utils.bean.BeanUtils;
import com.ruoyi.yljf.domain.Course;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ActiveCourseVO {

    private Long id;

    private String name;

    private String img;

    public ActiveCourseVO(Course course){
        BeanUtils.copyProperties(course,this);
    }

}
